#ifndef CARMOVEEVENT_H_
#define CARMOVEEVENT_H_

#include "map/MapPoint.h"
#include "map/car/Car.h"
#include "util/events/Event.h"

class CarMoveEvent: public Event {
public:

	CarMoveEvent(map::Car* car, MapPoint nextPointToNavigate):
		nextPointToNavigate(nextPointToNavigate.getX(), nextPointToNavigate.getY()) {
		this->type = CarMove_Event;
		this->car = car;
	}

	virtual ~CarMoveEvent() {
	}

	virtual map::Car* getCar() {
		return this->car;
	}
	virtual MapPoint getNextPointToNavigate() {
		return this->nextPointToNavigate;
	}

private:

	map::Car* car;
	MapPoint nextPointToNavigate;
};

#endif /* CARMOVEEVENT_H_ */
